﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/FrontPageSite.master" AutoEventWireup="true" CodeBehind="MessagesShow.aspx.cs" Inherits="CRMSalesManagement.FrontPageShow.MessagesShow" %>
<%@ Register Assembly="DataPage" Namespace="DataPageTools" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../DataPage/css.css" rel="stylesheet" type="text/css" />
 <div style="width:635px;margin:auto auto;">
        <div style="float:right;">
            <asp:Button ID="btnAddMessage" runat="server" Text="我要留言" 
                onclick="btnAddMessage_Click" />
        </div>                
        <asp:DataList ID="dlMessage" runat="server" Width="80%" Height="90px" 
            HorizontalAlign="Center" >
                        <ItemTemplate>
                            <div id="div2" runat="server" innerhtml='<%# Eval("visitTime", "访客留言：{0:d}") %>'
                                class="divContentText" style="font-weight: bold; line-height:300%;font-size:12px;color:#c27103">
                            </div>
                            <div id="div1" runat="server" innerhtml='<%# Eval("messageText") %>' 
                                style="width: 600px; line-height:150%;font-size:12px;text-indent:24px; ">
                            </div>
                            <div id="div4" runat="server" innerhtml='<%# Eval("replyTime", "管理员回复：{0:d}") %>'
                                 style="font-weight: bold; line-height:300%;font-size:12px; color:#c27103">
                            </div>
                            <div id="div3" runat="server" style=" line-height:150%;text-indent:24px;font-size:12px;" innerhtml='<%# Eval("reply") %>'>
                            </div>                           
                                <hr  />                         
                        </ItemTemplate>

                    </asp:DataList>
                    <div style="height: 50px; margin: 0 auto; font-size:12px;" align="center">
                    <div style="margin-top:30px;">
                    <cc1:datapage ID="DataPage1" runat='server' DIVClassName="yahoo" ShowRecordCount="3"
                        FirstPageDescription="第一页" LastPageDescription="最后一页">
                    </cc1:datapage>
                    </div>
                </div>  
    </div>
</asp:Content>
